import oss2
from config.settings import OSS_CONFIG

auth = oss2.Auth(OSS_CONFIG['access_key'], OSS_CONFIG['access_secret'])
bucket = oss2.Bucket(auth, OSS_CONFIG['endpoint'], OSS_CONFIG['bucket_name']) 